﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using Maticsoft.DBUtility;

namespace ElingOA6_Admin_DSJCJ.DAL
{
    /// <summary>
    /// 
    /// </summary>
    public partial class PeerReviewIP
    {

        /// <summary>
        /// 根据编号得到数据
        /// </summary>
        /// <param name="peerReviewID">编号</param>
        /// <returns>集合</returns>
        public DataSet GetListPeerReviewIP(decimal peerReviewID)
        {
            StringBuilder strSql = new StringBuilder();
            strSql.Append("select * FROM dbo.t_PeerReviewIP where FPeerReviewID=@FPeerReviewID");

            SqlParameter[] parameters = {
					new SqlParameter("@FPeerReviewID",SqlDbType.Decimal)};
            parameters[0].Value = peerReviewID;

            return DbHelperSQL.Query(strSql.ToString(), parameters);
        }
    }
}
